﻿<%@ Page Title="Incidencias" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="TraceThisItem.WebUI.Items.Default" %>
<asp:Content ID="Head" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content" ContentPlaceHolderID="MainContent" runat="server">
    <h1>
        <asp:Image ImageUrl="~/Styles/Images/agregarIncidencia.png" runat="server" /> Administraci&oacute;n de Items
	</h1>	
	<hr />
	<p>
		<asp:HyperLink ID="HyperLinkCreateItem" NavigateUrl="~/ItemTypes/Default.aspx" runat="server" Text="Administrar Tipo de Item" />

    </p>
    <p>
    
        &nbsp;<asp:ValidationSummary ID="ValidationSummary1" runat="server" />
   
   <p>
        <asp:Label ID="lblTipoDeItem" Text="Tipo de Item" runat="server" AssociatedControlID="ddlItemTypes" />
        <asp:DropDownList ID="ddlItemTypes" runat="server" Height="22px" 
            Width="315px" DataSourceID="ItemTypesDataSource" DataTextField="Name" 
            DataValueField="Id" />
        <asp:RequiredFieldValidator ID="RequiredFieldValidatorTipoDeItem" runat="server" ErrorMessage="RequiredFieldValidator" ControlToValidate="ddlItemTypes"></asp:RequiredFieldValidator>
        <br />
   </p>
   
    <asp:ObjectDataSource ID="ItemTypesDataSource" runat="server" SelectMethod="GetItemTypes" 
        TypeName="TraceThisItem.Domain.Facade" 
        OldValuesParameterFormatString="original_{0}" 
        onobjectcreating="ItemTypesDataSource_ObjectCreating" /> 
  
   
</asp:Content>
